/**
 * @author roman
 */

$(document).ready(function() {
	/*
	$.ajax({
		url      : 'http://www.mendeley.com/groups/981951/algos/',
  		context  : document.body,
		dataType : "html",
		beforeSend: function(){
            alert("me voy a ejecutar");
        },
        complete: function(objeto, exito){
            alert("Me acabo de completar: " + exito);
        },
        
		error: function(objeto, quepaso, otroobj){
            alert("err: " + objeto + ", " + quepaso + ", " + otroobj);
		},
		
  		success  : function (data, textStatus){
			alert(textStatus + " " + data);
  		}
	});*/
    
	$.get("http://www.mendeley.com/groups/981951/algos/", 
	function(responseText) {
  		alert('Load was performed. data:' + responseText);
	}); 
		
	/*$.getJSON("http://api.mendeley.com/oapi/documents/groups/981951?consumer_key=291612bf38c356c144e6c2d146125cba04d8c4a71",
        function(data){
			alert("end");
        });*/
});
